﻿<Window x:Class="Okazuki.BehaviorSupport.Test.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Name="window"
        Title="MainWindow" Height="350" Width="525" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" >
    <Grid Name="grid1">
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="12,12,0,0" Name="button1" VerticalAlignment="Top" Width="75">
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="ContextMenuClosing">
                    <ei:CallMethodAction />
                </i:EventTrigger>
                <i:EventTrigger>
                    <i:InvokeCommandAction CommandName="{x:Null}" />
                </i:EventTrigger>
            </i:Interaction.Triggers>
            <i:Interaction.Behaviors>
                <ei:FluidMoveSetTagBehavior />
                <ei:FluidMoveBehavior />
            </i:Interaction.Behaviors>
        </Button>
        <CheckBox Content="CheckBox" Height="16" HorizontalAlignment="Left" Margin="13,41,0,0" Name="checkBox1" VerticalAlignment="Top">
            <i:Interaction.Triggers>
                <i:EventTrigger SourceName="aaa" EventName="PreviewMouseDown">
                    <ei:CallMethodAction />
                </i:EventTrigger>
            </i:Interaction.Triggers>
        </CheckBox>
    </Grid>
</Window>
